package Bk.basic;

public class J05_GreatDivider {

	public static void main(String[] args) {
		
		int i = 125;
		int j = 2525;
		int result;
		
		while ( ( j != i  ) && ( i < j ) ) {
			while ( (2525 % j != 0) && ( i < j ) ) {
				--j;
				while ( (125 % i != 0) && (i != j) ) {
				
				System.out.println( i );
				result = --i;--j;
				System.out.println( j );
				}
			}
			
			--j;
		}
		
		
		
		}
				
	}


